﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IndyMosaic.Models.Podcast
{
    public interface IPodcastRepository
    {
        #region Entry
        Entry GetEntry(int id);
        IQueryable<Entry> ListAllEntries();
        IQueryable<Entry> ListLatestTopNEntries(int numberOfEntries);
        #endregion

        string GetFeed(IEnumerable<Entry> entries, string baseUrl, System.Web.Mvc.UrlHelper urlHelper);


        void Add(Entry entry);
        void Save();

    }
}
